﻿<%@ Control Language="C#" ClassName="NhomKhachHangFields" %>

<asp:FormView ID="FormView1" runat="server">
	<ItemTemplate>
		<table border="0" cellpadding="3" cellspacing="1">
			<tr>
				<td class="literal">Nhom Khach Hang Id:</td>
				<td>
					<asp:HiddenField runat="server" id="dataNhomKhachHangId" Value='<%# Bind("NhomKhachHangId") %>'></asp:HiddenField>
				</td>
			</tr>				
			<tr>
				<td class="literal">Khach Hang Id:</td>
				<td>
					<asp:TextBox runat="server" ID="dataKhachHangId" Text='<%# Bind("KhachHangId") %>'  TextMode="MultiLine"  Width="250px" Rows="5"></asp:TextBox><asp:RequiredFieldValidator ID="ReqVal_dataKhachHangId" runat="server" Display="Dynamic" ControlToValidate="dataKhachHangId" ErrorMessage="Required"></asp:RequiredFieldValidator>
				</td>
			</tr>				
			<tr>
				<td class="literal">Last Update:</td>
				<td>
					<asp:TextBox runat="server" ID="dataLastUpdate" Text='<%# Bind("LastUpdate", "{0:d}") %>' MaxLength="10"></asp:TextBox><asp:ImageButton ID="cal_dataLastUpdate" runat="server" SkinID="CalendarImageButton" OnClientClick="javascript:showCalendarControl(this.previousSibling);return false;" /><asp:RequiredFieldValidator ID="ReqVal_dataLastUpdate" runat="server" Display="Dynamic" ControlToValidate="dataLastUpdate" ErrorMessage="Required"></asp:RequiredFieldValidator>
				</td>
			</tr>				
			<tr>
				<td class="literal">Update By:</td>
				<td>
					<asp:TextBox runat="server" ID="dataUpdateBy" Text='<%# Bind("UpdateBy") %>'></asp:TextBox><asp:RequiredFieldValidator ID="ReqVal_dataUpdateBy" runat="server" Display="Dynamic" ControlToValidate="dataUpdateBy" ErrorMessage="Required"></asp:RequiredFieldValidator><asp:RangeValidator ID="RangeVal_dataUpdateBy" runat="server" Display="Dynamic" ControlToValidate="dataUpdateBy" ErrorMessage="Invalid value" MaximumValue="2147483647" MinimumValue="-2147483648" Type="Integer"></asp:RangeValidator>
				</td>
			</tr>				
			<tr>
				<td class="literal">Level:</td>
				<td>
					<asp:TextBox runat="server" ID="dataLevel" Text='<%# Bind("Level") %>'></asp:TextBox><asp:RangeValidator ID="RangeVal_dataLevel" runat="server" Display="Dynamic" ControlToValidate="dataLevel" ErrorMessage="Invalid value" MaximumValue="32767" MinimumValue="-32768" Type="Integer"></asp:RangeValidator>
				</td>
			</tr>				
			
		</table>

	</ItemTemplate>
</asp:FormView>


